<template>
  <div class="App">
    <keep-alive exclude="Search,SearchResult,Detail,UserEdit">
      <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
import { getAllChannelsAPI } from "@/api";
export default {
  name: "App",
  data() {
    return {};
  },
  async created() {
    try {
      const res = await getAllChannelsAPI();
      // console.log(res);
    } catch (err) {
      // console.log(err);
      // 详细打印
      console.dir(err);
    }
  },
  methods: {},
  components: {},
};
</script>

<style lang="less" scoped></style>
